package com.lanou.bean;

import java.util.List;

public class City {
    private Long id;

    private String city;

    private Long provinceId;

    private String firLet;

    public List<Area> getAreaList() {
        return areaList;
    }

    public void setAreaList(List<Area> areaList) {
        this.areaList = areaList;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", city='" + city + '\'' +
                ", provinceId=" + provinceId +
                ", firLet='" + firLet + '\'' +
                ", areaList=" + areaList +
                '}';
    }

    private List<Area> areaList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public String getFirLet() {
        return firLet;
    }

    public void setFirLet(String firLet) {
        this.firLet = firLet == null ? null : firLet.trim();
    }

}